import 'package:bruno/bruno.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:jinke/utils/util.dart';

import '../index.dart';

/// hello
class HomeHeader extends GetView<HomeController> {
  const HomeHeader({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    var state = controller.state;
    return Container(
      width: Get.width,
      height: SizeFit.statusBarHeight + 165.r,
      padding: EdgeInsets.only(top: SizeFit.statusBarHeight),
      decoration: BoxDecoration(
        image: DecorationImage(
          image: AssetImage(
            'home_title_bg.png'.imgPathHome,
          ),
          fit: BoxFit.cover,
        ),
      ),
    );
  }
}
